var Mockjs = require('mockjs')

const gameListMock = function(app) {
	var data = Mockjs.mock({
		// 属性 list 的值是一个数组，其中元素的数量从 1 到 10 个都有可能，随机
		success: true,
		message: "操作成功！",
		errno: 0,
		total: 13,
		size: 10,
		current: 1,
		orders: [],
		optimizeCountSql: true,
		hitCount: false,
		searchCount: true,
		pages: 2,
		result: {
			records: [{
				id: 1,
				name: "韩丁程三人钓大赛",
				image: "https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图1.jpg",
				address: "山东.青岛",
				startDate: "2020.12.21",
				endDate: "2020.12.29",
				joinNum: 12,
				maxNum:30,
				fishType: "大JJ鱼",
				recycle: 1,
				joinPrice: 1000,
				award: '1000鱼果+30积分',
				albumPics: "https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图2.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图3.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图4.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图5.jpg",
			},
			{
				id: 2,
				name: "韩丁程三人钓大赛",
				image: "https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图1.jpg",
				address: "山东.青岛",
				startDate: "2020.12.21",
				endDate: "2020.12.29",
				joinNum: 12,
				maxNum:30,
				fishType: "大JJ鱼",
				recycle: 1,
				joinPrice: 1000,
				award: '1000鱼果+30积分',
				albumPics: "https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图2.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图3.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图4.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图5.jpg",
			},
			{
				id: 2,
				name: "韩丁程三人钓大赛",
				image: "https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图1.jpg",
				address: "山东.青岛",
				startDate: "2020.12.21",
				endDate: "2020.12.29",
				joinNum: 12,
				maxNum:30,
				fishType: "大JJ鱼",
				recycle: 1,
				joinPrice: 1000,
				award: '1000鱼果+30积分',
				albumPics: "https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图2.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图3.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图4.jpg,https://langyayanxuan.com/mall/20201028/罗莱Lacasa优加棉花糖3+5子母被-商品主图5.jpg",
			}
			]
		}
	})
	return data
}

module.exports = gameListMock;
